<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: google_taxonomy.php 11 2013-09-21 11:43:11Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 11 $
* 	zuletzt geaendert von:	$Author: siekiera $
* 	Datum:					$Date: 2013-09-21 11:43:11 +0000 (Sat, 21 Sep 2013) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright (c) since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */

defined('_VALID_XTC') or die('Direct Access to this location is not allowed.');

#$google = new googleTaxonomy();

echo '<p>'.TEXT_GOOGLE_TAXONOMY.'</p>';
if(isset($pInfo->products_id) && !empty($pInfo->products_id)) { ?>
	<style type="text/css">
		button.save_google_button_on {border-color: #b20000}
		.google_cat_cont {padding: 3px 6px; display:block; height:25px; line-height: 25px; border: 1px solid #dfdfdf; overflow: hidden; white-space: nowrap}
	</style>
	<div id="google_cat">
		<table width="100%" border="0" id="cat_table" cellpadding="4">
			<tr>
				<td width="100%">
					<div id="google_url" class="google_cat_cont"></div>
				</td>
				<td width="1">
					<nobr>
						<button id="save_button" class="button" onclick="xajax_save_cat($('#google_url').html(),<?php echo $pInfo->products_id ?>); return false">Speichern</button> 
						<button id="delete_button" class="button" onclick="xajax_reset_cat(<?php echo $pInfo->products_id ?>); return false">Leeren / Löschen</button>
					</nobr>
					<input type="hidden" name="" value="" id="short_path" />
				</td>
			</tr>
		</table>
	</div>
<?php } else echo TEXT_GOOGLE_TAXONOMY_NO_ID; ?>